import {FileItem} from "@nutui/nutui-react-taro";

export function withSuccessUploadImage(uid:string,url:string):FileItem{
    return {
        status:"success",
        message:"上传成功",
        url,
        uid,
        type:"image"
    }
}



export let QINIU_IMAGE_HOST = process.env.TARO_APP_QINIU_IMAGE_HOST

export let QINIU_UPLOAD_URL = process.env.TARO_APP_QINIU_UPLOAD_URL